package org.apache.android.media;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.KeyEvent;

public class LoadingSampleActivity extends Activity {
	MyProgressDialog mProgress;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		mProgress = MyProgressDialog.show(this, null, null);
		new Thread() {
			public void run() {
				try {
					Thread.sleep(5000);
					mProgress.dismiss();
					finish();
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}

			}

		}.start();
	}
}
